<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>

	<!-- Basic Page Needs
  ================================================== -->
	<meta charset="utf-8" />
	<title>博客-首页</title>
    <meta name="robots" content="index, follow" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
	<meta name="author" content="" />
	<!-- 载入公共头部 -->
	{{include file="VIEW_PATH/Common/header.php"}}
   
        
        <!-- BEFORE CONTENT -->
        <div id="outerbeforecontent">
        	<div class="container">
            <div class="row">
                <div id="beforecontent" class="twelve columns">
                
                    <h1 class="pagetitle">首页</h1>
                    <span class="pagedesc">This is the beginning of the dream.</span>
                  
                </div>
            </div>
            </div>
        </div>
        <!-- END BEFORE CONTENT -->


        <!-- MAIN CONTENT -->
        <div id="outermain">
        	<div class="container">
                <div class="row">
           
                    <section id="maincontent" class="eight columns positionleft">
                    	<div class="padcontent">

                            <section class="content">
                            	{{foreach from="$data" value="$v"}}
								<article class="post">
                                    <div class="date-wrapper"> 
										<div class="date-value">{{$v['click']}}</div>
                                        <div class="month-value">点击量</div>
                                    </div>
                                	<div class="header-wrapper">
                                        <h2 class="posttitle"><a href="l_ct_{{$v['aid']}}.html">{{$v['title']}}</a></h2>
                                        <div class="entry-utility">
                                            <div class="user">发布者： <a>{{$v['author']}}</a></div> 
	                                            <div class="tag">Tags: 
	                                            	{{foreach from="$v['tag']" key="$tid" value="$tname"}}
	                                            	<a href="l_tag_{{$tid}}.html">{{$tname}}&nbsp</a>
	                                            	{{endforeach}}
	                                            </div>
                                        </div>
                                    </div>
                                    <div class="clear"></div>
                                    <div class="postimg">
                                        <img src="{{__ROOT__}}/{{$v['imgs']}}"  />
                                    </div>
       
                                    <div class="entry-content">
										<p>{{$v['digest']}}</p>
										<div style="height: 5px;"></div>
										<a href="l_ct_{{$v['aid']}}.html" class="more">阅读全文  &rarr;</a>
                                    </div>
                                   <div class="clear"></div>
                                </article>
                                {{endforeach}}
                     
              		  {{if value="$total > 2"}}
					<div class="wp-pagenavi">
					<style type="text/css">
                             .page{
                                				width:500px;
												height:25px;
                                                line-height: 25px;
                                               	list-style: none;
									}
                             .page li{
                                     float: left;
                             }
                              .page li.active a{
                                       color: #e85244;
                          		}
                                	</style>
                                	
                                	<ul class="page">{{$page}}</ul>
                                </div>
                                {{endif}}
                            </section>
                        </div>
                     
                    </section>
                    
                    <!-- 载入右侧内容 -->
                 	{{include file="VIEW_PATH/Common/right.php"}}
                </div>
            </div>
        </div>
        <!-- END MAIN CONTENT -->
        
 		<!-- 载入公共底部 -->
    	{{include file="VIEW_PATH/Common/floor.php"}}
